home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / tcp_ip / tnos / tnos100s / ftp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-18  |  507 b   |  19 lines

  1. #ifndef    _FTP_H
  2. #define    _FTP_H
  3.  
  4. /* Definitions common to both FTP servers and clients */
  5. #define    BLKSIZE    2048    /* Chunk size for file I/O */
  6.  
  7. #define    ASCII_TYPE    0
  8. #define    IMAGE_TYPE    1
  9. #define    LOGICAL_TYPE    2
  10.  
  11. /* In ftpsubr.c: */
  12. long sendfile __ARGS((FILE *fp,int s,int mode,int hash));
  13. long recvfile __ARGS((FILE *fp,int s,int mode,int hash));
  14. int isbinary __ARGS((FILE *fp));
  15. unsigned long getsize __ARGS((FILE *fp));
  16. unsigned long checksum __ARGS((FILE *fp, long n));
  17.  
  18. #endif    /* _FTP_H */
  19.